﻿package com.hoopeu.utils;

public class DeviceType {
	private final String type;
	private int index;

	public static DeviceType TV = new DeviceType("TV", 1); // 机顶盒
	public static DeviceType STB = new DeviceType("STB", 2); // 机顶盒
	public static DeviceType DVD = new DeviceType("DVD", 3); // 影碟机
	public static DeviceType AMP = new DeviceType("AMP", 4); // 功放
	public static DeviceType CL = new DeviceType("CL", 11); // 窗帘
	public static DeviceType PD = new DeviceType("PD", 6);
	public static DeviceType KT = new DeviceType("KT", 5); // 空调
	public static DeviceType MB = new DeviceType("MB", 10); // 幕布
	public static DeviceType Other = new DeviceType("Other", 0);
	public static DeviceType JI = new DeviceType("JI", 13); // 继电器
	public static DeviceType SX = new DeviceType("SX", 12); // 难道是摄像头。。。
	public static DeviceType TD = new DeviceType("TD", 7);
	public static DeviceType ZD = new DeviceType("ZD", 8);
	public static DeviceType SD = new DeviceType("SD", 9); // 射灯
	public static DeviceType LU485 = new DeviceType("LU485", 14); // 射灯
	public static DeviceType RF315CP = new DeviceType("RF315CP", 15); // RF窗帘
	public static DeviceType RF315DLP = new DeviceType("RF315DLP", 16); // 多级调光
	public static DeviceType RF315LP = new DeviceType("RF315LP", 17); // RF灯光面板
	public static DeviceType ZLED = new DeviceType("ZLED", 18); // ZigBee LED灯
	public static DeviceType ZCL = new DeviceType("ZCL", 19); //ZigBee 窗帘

	private DeviceType(String paramString, int index) {
		this.type = paramString;
		this.index = index;
	}

	public String getDeviceType() {
		return this.type;
	}

	public int getIndex() {
		return this.index;
	}
}
